﻿using System;
using Base;

///**************************************************
///<summary>
///Depiction：此类是企业发布招聘职位的实体类
///Author：冯新华
///Create Date：2009-8-31
///</summary>
///**************************************************
namespace nspJob
{
    public class TJob
    {
        #region Model
        private int _id;                //职位编号
        private int _userid;            //企业编号
        private int _typeid;            //职位类别
        private string _position;       //职位名称
        private int _jobcount;          //招聘人数
        private string _degree; //学历要求
        private string _agerequest;     // 年龄要求
        private string _experience;      // 工作经验
        private string _worktemper;     // 工作性子
        private string _address;        // 工作地址
        private string _salarylevel;    // 薪资水平
        private string _sex;            // 性别要求
        private string _englishlevel;   // 外语要求
        private string _computerlevel;  // 计算机要求
        private string _recrtehistory;    // 是否招收应届生
        private int _verify;            //状态（审核，未审核）
        private DateTime _enddate;      //有效期
        private bool _isrecommend;      //是否推荐
        private bool _isenable;
        /// <summary>
        /// 职位编号
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 企业编号
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }

        /// <summary>
        /// 职位类别
        /// </summary>
        public int TypeID
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 职位名称
        /// </summary>
        public string Position
        {
            set { _position = Base.Common.FilterHtml(value); }
            get { return _position; }
        }
        /// <summary>
        /// 招聘人数
        /// </summary>
        public int JobCount
        {
            set { _jobcount = value; }
            get { return _jobcount; }
        }
        /// <summary>
        /// 学历要求
        /// </summary>
        public string Degree
        {
            set { _degree = Base.Common.FilterHtml(value); }
            get { return _degree; }
        }
        /// <summary>
        /// 年龄要求
        /// </summary>
        public string AgeRequest
        {
            set { _agerequest = Base.Common.FilterHtml(value); }
            get { return _agerequest; }
        }
        /// <summary>
        /// 工作经验
        /// </summary>
        public string Experience
        {
            set { _experience = Base.Common.FilterHtml(value); }
            get { return _experience; }
        }
        /// <summary>
        /// 工作性子
        /// </summary>
        public string WorkTemper
        {
            set { _worktemper = Base.Common.FilterHtml(value); }
            get { return _worktemper; }
        }
        /// <summary>
        /// 工作地址
        /// </summary>
        public string Address
        {
            set { _address = Base.Common.FilterHtml(value); }
            get { return _address; }
        }
        /// <summary>
        /// 薪资水平
        /// </summary>
        public string SalaryLevel
        {
            set { _salarylevel = Base.Common.FilterHtml(value); }
            get { return _salarylevel; }
        }
        /// <summary>
        /// 性别要求
        /// </summary>
        public string Sex
        {
            set { _sex = Base.Common.FilterHtml(value); }
            get { return _sex; }
        }
        /// <summary>
        /// 外语要求
        /// </summary>
        public string EnglishLevel
        {
            set { _englishlevel = Base.Common.FilterHtml(value); }
            get { return _englishlevel; }
        }
        /// <summary>
        /// 计算机水平要求
        /// </summary>
        public string ComputerLevel
        {
            set { _computerlevel = Base.Common.FilterHtml(value); }
            get { return _computerlevel; }
        }
        /// <summary>
        /// 是否招收应届生
        /// </summary>
        public string RecrtEHistory
        {
            set { _recrtehistory = Base.Common.FilterHtml(value); }
            get { return _recrtehistory; }
        }
        /// <summary>
        /// 状态 标识是否审核
        /// </summary>
        public int verify
        {
            set { _verify = value; }
            get { return _verify; }
        }
        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime EndDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 标识是否被推荐
        /// </summary>
        public bool isRecommend
        {
            set { _isrecommend = value; }
            get { return _isrecommend; }
        }

        public bool isEnable
        {
            set { _isenable = value; }
            get { return _isenable; }
        }
        #endregion Model

    }
}